package cn.chinaunicom.mini.program.dingtalk.openapi.model.enums;

import lombok.Getter;

/**
 * @ProjectName: dingtalk-adapter
 * @Package: cn.chinaunicom.mini.program.dingtalk.openapi.model.enums
 * @ClassName: MediaType
 * @Description: 消息类型枚举
 * @Author: wangjc
 * @CreateDate: 2024/6/14
 * @UpdateUser: wangjc
 * @UpdateDate: 2024/6/14
 * @UpdateRemark: 更新内容
 * @Version: 1.0
 */
@Getter
public enum DingTalkMsgType {
	MSG_TEXT("text","文本消息"),
	MSG_VOICE("voice","语音消息"),
	MSG_IMAGE("image","图片消息"),
	MSG_FILE("file","文件消息"),
	MSG_MARKDOWN("markdown","markdown消息"),
	MSG_ACTION_CARD("action_card","动作卡片"),
	MSG_OA("oa","OA消息"),
	MSG_LINK("link","超链接卡片");
	
	private String type;
	
	private String name;
	
	DingTalkMsgType(String type, String name) {
		this.type = type;
		this.name = name;
	}
}
